package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2024/01/11
*/
@Data
@ApiModel("问诊正在支付的信息")
@Table(name = "tbl_booking_pending_cybersource")
@NoArgsConstructor
@AllArgsConstructor
public class TblBookingPendingCybersource extends BaseEntity {
    /**
     * 每一次点击proceed都会生成
     */
    @Column(name = "request_transaction_uuid")
    @ApiModelProperty("每一次点击proceed都会生成")
    private String requestTransactionUuid;

    @Column(name = "total_amount")
    private BigDecimal totalAmount;

    private String prefix;

    private String suffix;

    @Column(name = "mc_transaction_id")
    private String mcTransactionId;

    @Column(name = "request_reference_number")
    private String requestReferenceNumber;

    /**
     * 是否已经支付
     */
    @Column(name = "is_run")
    @ApiModelProperty("是否已经支付")
    private Integer isRun;

    @Column(name = "have_prescription")
    private Integer havePrescription;
}